Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160280061
D20813.id59449.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
923 B
Referenced Files
None
Subscribers
None
D20813.id59449.diff
View Options
Index: Mk/Uses/go.mk
===================================================================
--- Mk/Uses/go.mk
+++ Mk/Uses/go.mk
@@ -48,7 +48,7 @@
#
# This variable must not be set by individual ports!
#
-# MAINTAINER: jlaffaye@FreeBSD.org
+# MAINTAINER: dg@syrec.org
.if !defined(_INCLUDE_USES_GO_MK)
_INCLUDE_USES_GO_MK= yes
@@ -117,13 +117,13 @@
.if !target(do-build) && empty(go_ARGS:Mno_targets)
do-build:
(cd ${GO_WRKSRC}; \
- ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} install ${GO_BUILDFLAGS} ${GO_TARGET})
+ ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} install ${GO_BUILDFLAGS} ${GO_TARGET:S/^${PORTNAME}$/./})
.endif
.if !target(do-install) && empty(go_ARGS:Mno_targets)
do-install:
.for _TARGET in ${GO_TARGET}
- ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${_TARGET:T} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/${_TARGET:T:S/^.$/${PORTNAME}/} ${STAGEDIR}${PREFIX}/bin
.endfor
.endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 23, 9:25 PM (1 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34259384
Default Alt Text
D20813.id59449.diff (923 B)
Attached To
Mode
D20813: Mk/Uses/go.mk: Default to "." (the current package) instead of PORTNAME
Attached
Detach File
Event Timeline
Log In to Comment