Approved by:	portmgr@
This commit is contained in:
vanilla
2014-06-19 16:18:14 +00:00
parent 46675d6ffa
commit d0f72f0bc7
2 changed files with 14 additions and 3 deletions
+1 -3
View File
@@ -15,10 +15,8 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.1
MAN1= seq2.1
PLIST_FILES= bin/seq2
PLIST_FILES= bin/seq2 man/man1/seq2.1.gz
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|$$(CC) -o|$$(CC) $$(CFLAGS) -o|' \
${WRKSRC}/Makefile.in
+13
View File
@@ -0,0 +1,13 @@
--- Makefile.in.orig 2014-06-20 00:16:24.923034549 +0800
+++ Makefile.in 2014-06-20 00:16:43.200031888 +0800
@@ -77,8 +77,8 @@ all:
@echo "Do as root 'make install'"
install:
- $(INSTALL) -m 755 $(FULL_BIN) $(bindir)
- $(INSTALL) -m 644 $(FULL_MAN) $(mandir)/man1/
+ $(INSTALL) -m 755 $(FULL_BIN) $(DESTDIR)$(bindir)
+ $(INSTALL) -m 644 $(FULL_MAN) $(DESTDIR)$(mandir)/man1/
install-strip: install
@if test $(OBJCOPY) = "yes" ; then $(OBJ_COPY_STRIP) $(bindir)/$(BIN); fi