diff options
Diffstat (limited to 'ports-mgmt/portsearch')
-rw-r--r-- | ports-mgmt/portsearch/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/portsearch/files/patch-Makefile | 15 |
2 files changed, 15 insertions, 1 deletions
diff --git a/ports-mgmt/portsearch/Makefile b/ports-mgmt/portsearch/Makefile index 8d00bc737cd9..34a29be6e326 100644 --- a/ports-mgmt/portsearch/Makefile +++ b/ports-mgmt/portsearch/Makefile @@ -16,5 +16,4 @@ LICENSE= BSD2CLAUSE PLIST_FILES= bin/portsearch %%DATADIR%%/Makefile PLIST_DIRS= %%DATADIR%% -NO_STAGE= yes .include <bsd.port.mk> diff --git a/ports-mgmt/portsearch/files/patch-Makefile b/ports-mgmt/portsearch/files/patch-Makefile new file mode 100644 index 000000000000..6befe47b3426 --- /dev/null +++ b/ports-mgmt/portsearch/files/patch-Makefile @@ -0,0 +1,15 @@ +--- Makefile.orig 2014-06-24 23:40:10.656628805 +0800 ++++ Makefile 2014-06-24 23:40:32.926628413 +0800 +@@ -15,9 +15,9 @@ ${target}: + all: build + + install: build +- ${INSTALL_PROGRAM} src/portsearch ${PREFIX}/bin/ +- ${MKDIR} ${DATADIR} +- ${INSTALL_DATA} Mk/Makefile ${DATADIR}/ ++ ${INSTALL_PROGRAM} src/portsearch $(DESTDIR)${PREFIX}/bin/ ++ ${MKDIR} $(DESTDIR)${DATADIR} ++ ${INSTALL_DATA} Mk/Makefile $(DESTDIR)${DATADIR}/ + + .include "Makefile.var" + |