diff options
author | danilo <danilo@FreeBSD.org> | 2013-11-07 10:04:11 +0800 |
---|---|---|
committer | danilo <danilo@FreeBSD.org> | 2013-11-07 10:04:11 +0800 |
commit | bd8244aac8fc356fb7067e6e266daa538e80c995 (patch) | |
tree | f7a3a45745f510e1b159f7a2a064afdd5f297486 /x11/xnodecor | |
parent | ad18c97ca822a59474786bd7178c046468628b88 (diff) | |
download | freebsd-ports-gnome-bd8244aac8fc356fb7067e6e266daa538e80c995.tar.gz freebsd-ports-gnome-bd8244aac8fc356fb7067e6e266daa538e80c995.tar.zst freebsd-ports-gnome-bd8244aac8fc356fb7067e6e266daa538e80c995.zip |
- Remove PREFIX from MAKE_ARGS and use ${DESTDIR} in ${WRKSRC}/Makefile
Reported by: danfe
Diffstat (limited to 'x11/xnodecor')
-rw-r--r-- | x11/xnodecor/Makefile | 1 | ||||
-rw-r--r-- | x11/xnodecor/files/Makefile | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/x11/xnodecor/Makefile b/x11/xnodecor/Makefile index f9759c48ef4e..d387317d2310 100644 --- a/x11/xnodecor/Makefile +++ b/x11/xnodecor/Makefile @@ -14,7 +14,6 @@ COMMENT= Utility to set override_redirect in XWindowAttributes to True NO_WRKSUBDIR= yes USE_XORG= x11 PLIST_FILES= bin/xnodecor -MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} do-extract: @${MKDIR} ${WRKDIR} diff --git a/x11/xnodecor/files/Makefile b/x11/xnodecor/files/Makefile index dc0e825ae7fc..25f25c8b8f01 100644 --- a/x11/xnodecor/files/Makefile +++ b/x11/xnodecor/files/Makefile @@ -9,7 +9,7 @@ xnodecor: $(CC) -o xnodecor xnodecor.c $(CFLAGS) $(LDFLAGS) $(LIBS) install: - ${BSD_INSTALL_PROGRAM} xnodecor ${PREFIX}/bin + ${BSD_INSTALL_PROGRAM} xnodecor ${DESTDIR}${PREFIX}/bin clean: rm -f *.rej a.out core xnodecor |