- update to 20120106

This commit is contained in:
Wen Heping 2012-01-16 12:54:38 +00:00
parent 4f1e8addf2
commit 55a0b34492
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=289328
3 changed files with 13 additions and 20 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= pypersrc
PORTVERSION= 20090914
PORTREVISION= 1
PORTVERSION= 20120106
CATEGORIES= devel
MASTER_SITES= ftp://ftp.jimbrooks.org/pypersrc/
DISTNAME= ${PORTNAME}_${PORTVERSION}

View file

@ -1,2 +1,2 @@
SHA256 (pypersrc_20090914.tar.bz2) = 6a7c6620c91824e5befe7a5f9694a039e6da9abc24adff10a3ba82174637283b
SIZE (pypersrc_20090914.tar.bz2) = 224478
SHA256 (pypersrc_20120106.tar.bz2) = 3ac95694b89c6c606ca52a4e5aeb36a0ed37ca58fcc2d39a18a5efb7161eb617
SIZE (pypersrc_20120106.tar.bz2) = 215511

View file

@ -1,28 +1,22 @@
--- GNUmakefile.orig Sun Mar 5 10:32:34 2006
+++ GNUmakefile Thu Apr 27 00:12:07 2006
@@ -6,13 +6,7 @@
--- GNUmakefile.orig 2012-01-16 19:12:38.000000000 +0800
+++ GNUmakefile 2012-01-16 19:15:21.000000000 +0800
@@ -6,13 +6,14 @@
include GNUmakefile.config
# Where to install.
-ifeq ($(USER),root)
- INSTALL_DIR=/usr/local/bin
-else
- # Quote INSTALL_DIR (cygwin HOME has space chars)
- # but not wildcards which would suppress globbing.
+#ifeq ($(USER),root)
+# INSTALL_DIR=/usr/local/bin
+#else
# Quote INSTALL_DIR (cygwin HOME has space chars)
# but not wildcards which would suppress globbing.
- INSTALL_DIR="$(HOME)/bin"
-endif
+# INSTALL_DIR="$(HOME)/bin"
+#endif
+INSTALL_DIR=$(PREFIX)/bin
INSTALL = install
INSTALL_OWNER =
@@ -82,8 +76,8 @@
CC_OBJS = $(addprefix $(OUT_DIR)/,$(CC_OBJS_))
EXTRA_HH_SRCS = $(addprefix $(HH_SRC_DIR)/,$(EXTRA_HH_SRCS_))
HH_SRCS = $(CC_SRCS:.cc=.hh) $(EXTRA_HH_SRCS)
-CC = g++
-LD = $(CC)
+CXX ?= g++
+LD = $(CXX)
ifeq ($(PROFILE),1)
CC_FLAGS += -pg -O0
LD_FLAGS += -pg -O0